package com.yt.order.models.dto;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.yt.common.dto.BaseDTO;
import java.io.Serializable;

/**
 * 派单规则筛选条件DTO
 */
@Data
@TableName("dispatch_rule_filter")
@ApiModel(value="派单规则筛选条件对象", description="派单规则筛选条件对象")
public class DispatchRuleFilterDTO extends BaseDTO implements Serializable {
    @ApiModelProperty(value = "关联规则ID")
    private Long ruleId;

    @ApiModelProperty(value = "筛选类型：0-地理位置，1-接单量，2-评价")
    private Integer filterType;

    @ApiModelProperty(value = "运算符：>、<、=、in等")
    private String operator;

    @ApiModelProperty(value = "筛选值")
    private String filterVal;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "条件排序")
    private Integer sort;
}